
 export type ModalType = (title?: string, content?: string, showCancel?: boolean, callback?: Function, confirmColor?: string, confirmText?: string) => void
 export type ToastType = (text?: string, duration?: number, success?: boolean) => void
 export type InterfaceUrlType = () => string
 export type IsAndroidType = () => boolean
 export type IsPhoneXType = () => boolean
 export type ConstNumType = () => number
 export type ShowLoadingType = (title?: string, mask?: boolean) => void
 export type JsonpType = (url: string, callback: Function, callbackname: string) => void
 export type SetUserInfoType = (mobile: number, token?: string) => void
 export type GetTokenType = (name?: string) => any
 export type IsLoginType = (name?: string) => boolean
 export type HrefType = (url: string, isVerify?: boolean) => void
 
 export type UtilsType = {
   interfaceUrl: InterfaceUrlType,
   toast: ToastType,
   modal: ModalType,
   isAndroid: IsAndroidType,
   isPhoneX: IsPhoneXType,
   constNum: ConstNumType,
   showLoading: ShowLoadingType,
   jsonp: JsonpType,
   setUserInfo: SetUserInfoType,
   getToken: GetTokenType,
   isLogin: IsLoginType,
   href: HrefType,
   [k: string]: any
 }